import request from '@/utils/request'

// 量化对冲配置列表
export function amtExchangeConfigPage(query) {
  return request({
    url: '/admin/amtExchangeConfig/list',
    method: 'get',
    params: query
  })
}


// 新增/编辑量化对冲配置
export function amtExchangeConfigApi(data) {
  return request({
    url: '/admin/amtExchangeConfig',
    method: 'post',
    data: data
  })
}


// 删除量化对冲配置
export function amtExchangeConfigDelete(configIds) {
  return request({
    url: `/admin/amtExchangeConfig/${configIds}`,
    method: 'delete',
  })
}


// 量化对冲列表
export function amtExchangeList(query) {
  return request({
    url: '/admin/amtExchangeConfig/amtExchange/list',
    method: 'get',
    params:query
  })
}
